package com.beichuan_travel.service;

import com.beichuan_travel.model.dto.AttractionDTO;
import com.beichuan_travel.model.vo.AttractionVO;
import com.beichuan_travel.model.vo.ResultVO;

import java.util.List;

public interface AttractionService {

    ResultVO queryByName(String name);

    List<AttractionVO> fuzzyQueryName(String name);

    List<AttractionVO> queryByPrice(Integer lower, Integer upper);

    List<AttractionVO> queryByStar(Integer star);

    List<AttractionVO> queryAllDescByStar(Integer type);

    List<AttractionVO> queryAllASCByPrice(Integer type);

    List<AttractionVO> queryAllByName(Integer type);

    int addAttraction(AttractionDTO attractionDTO);

}
